import Vue from "vue";
import Vuex from "vuex";
import permission from "./permission"
import users from "./users"
Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    // userMenu:[],
    collapse:false
  },
  getters: {},
  mutations: {
    SET_COLLAPSE(state,payload){
      state.collapse=!state.collapse
    }
  },
  actions: {},
  modules: {
    permission,
    users,
  },
});
